Skip to content

[feat] Display dynamic columns in static HTML #4172

Merged
bruntib merged 1 commit into
Ericsson:masterfrom
bruntib:static_html_dynamic
Apr 16, 2024
Merged

[feat] Display dynamic columns in static HTML #4172
bruntib merged 1 commit into
Ericsson:masterfrom
bruntib:static_html_dynamic

Conversation

@bruntib
Copy link
Copy Markdown
Contributor

@bruntib bruntib commented Feb 25, 2024

"CodeChecker parse -e html" command produces a static HTML that displays
the reports. However, the dynamic analysis related columns were missing
from this table: testcase and timestamp are now displayed too, if any.

Note: this PR consists of 2 commits. The first one is deployed in another PR (#4168). After that's merged, this one can be rebased.

@bruntib bruntib added this to the release 6.24.0 milestone Feb 25, 2024
@bruntib bruntib requested a review from Szelethus February 25, 2024 15:05
@bruntib bruntib requested a review from vodorok as a code owner February 25, 2024 15:05
@bruntib bruntib force-pushed the static_html_dynamic branch from 14ab2f2 to 971ff33 Compare March 27, 2024 14:17
Copy link
Copy Markdown
Contributor

@vodorok vodorok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be merged if my nitpicks are not worthy of fixing.


_cmp3 : function (a, b) {
return a < b ? -1 : a > b ? 1 : 0;
if (a === null)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much readable, thanks

review_col.appendChild(document.createTextNode(data['review-status']));
row.appendChild(review_col);

var testcase_col = document.createElement('td');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to use variables declared with let as they are less bugprone for the avg. developer. (or use const if they are not modified.)

@bruntib bruntib force-pushed the static_html_dynamic branch 7 times, most recently from fabfb25 to 8f7e682 Compare April 16, 2024 09:16
"CodeChecker parse -e html" command produces a static HTML that displays
the reports. However, the dynamic analysis related columns were missing
from this table: testcase and timestamp are now displayed too, if any.
@bruntib bruntib force-pushed the static_html_dynamic branch from 8f7e682 to 96549b3 Compare April 16, 2024 09:21
@bruntib bruntib merged commit 8f08fa8 into Ericsson:master Apr 16, 2024
@bruntib bruntib deleted the static_html_dynamic branch April 16, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants